/**
@author - Gyanendra Singh/ Suresh Chandra Pal
@version - 1.0 28/Feb/2009
**/
/////////////////////////////////////////////
//  All ajax communication logic
/////////////////////////////////////////////

var ajaxRequest = null;
function createRequest() {
	try {
		ajaxRequest = new XMLHttpRequest();
	} catch (trymicrosoft) {
   		try {
    		ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
   		} catch (othermicrosoft) {
	 		try {
				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (failed) {
    	    	ajaxRequest = null;
    		}
  		}
	}
	if (ajaxRequest == null) {
		alert("Error creating ajaxRequest object!");
	}
}